<?php

namespace Admin\Models\school;

use Admin\Models\BaseModel;
use Helpers\Cache;

class XhschoolSite extends BaseModel
{

    /**
     *
     * @var integer
     */
    public $iSSId;

    /**
     *
     * @var string
     */
    public $sSiteName;

    /**
     *
     * @var string
     */
    public $sUrl;

    /**
     * @var integer
     */
    public $iSchoolId;

    /**
     *
     * @var string
     */
    public $sImage;

    /**
     *
     * @var integer
     */
    public $bLong;

    /**
     * @var integer
     */
    public $bResult;


    /**
     * @var string
     */
    public $tStartTime;

    /**
     * @var string
     */
    public $tEndTime;

    /**
     * @var integer
     */
    public $bDelete;

    /**
     *
     * @var string
     */
    public $tCreateDate;

    /**
     *
     * @var string
     */
    public $iCreateUserId;

    /**
     *
     * @var string
     */
    public $tLastModifyDate;

    /**
     *
     * @var string
     */
    public $iLastModifyUserId;

    /**
     * @var integer
     *
     */
    public $bShow;

    /**
     * @var integer
     */
    public $bCommon;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        parent::initialize();
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'XHSchool_Site';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolSite[]
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return XhschoolSite
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }


}
